package cn.hairui.fastms.core.bean;

import cn.hairui.fastms.core.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 字典摘要表
 * </p>
 *
 * @author lihairui
 * @since 2020-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SDicCategory对象", description = "字典摘要表")
public class SDicCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "字典名称")
    @TableId("DIC_NAME")
    private String dicName;

    @ApiModelProperty(value = "字典描述")
    @TableField("DIC_DESC")
    private String dicDesc;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private String updateTime;

    @ApiModelProperty(value = "模块")
    @TableField("MODULE")
    @Dict(dictCode = "ZB_SYS_MODULE")
    private String module;


}
